package adv41;

import java.util.Date;

/**
 * @author oldliu
 * @since 1.0
 */
public class Thread3 {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            try {
                Thread.sleep(5000);
                System.out.println("现在时刻："+new Date());
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
